package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.ExportRecords;
import com.sc.nft.entity.vo.ExportRecordsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @author 朱梦晨
 * @Description: (sc_export_records)数据Mapper
 * @date 2024-07-24
 */
@Mapper
public interface ExportRecordsMapper extends BaseMapper<ExportRecords> {

    Page<ExportRecordsVO> exportRecordsList(Page page, @Param("status") Integer status, @Param("exportName") String exportName,
                                            @Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("creatorId") Long creatorId);

    Page<ExportRecordsVO> exportDaoRecordsList(Page page, @Param("status") Integer status, @Param("exportName") String exportName,
                                               @Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("daoId") Long daoId);

}
